
/**
 * @cat Misc
 * @name Renaissance.Hostip
 * @desc perform hostip query
 * @return {Object} object
 */
function Renaissance.Hostip() {
	this.proxy = new Renaissance.YahooPipesXmlProxy();
}
/**
 * @cat Misc
 * @name Renaissance.Hostip.prototype.query
 * @desc perform query
 * @param {Function} callback callback function to handle the hostip data
 * @param {String} ip ip address to query
 */
Renaissance.Hostip.prototype.query = function (callback, ip) {
	var base = 'http://api.hostip.info/?ip=' + escape(ip);
	return this.proxy.proxy(callback, {url: base});
};
